package com.niiwoo.civet.mobile.vo.response.creditor;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Setter
@Getter
@ApiModel("债权出让明细数据")
public class CreditorSaleDetailResponseVO {

    @ApiModelProperty("债权出让明细订单表ID")
    private Long creditorSaleDetailId;
    @ApiModelProperty("投资订单ID")
    private Long investOrderId;
    @ApiModelProperty("标的id")
    private Long projectId;

    @ApiModelProperty("债权出让人用户id")
    private String creditorUserId;
    @ApiModelProperty("债权出让人头像")
    private String creditorHeadImage;
    @ApiModelProperty("债权出让人昵称")
    private String creditorNickName;
    @ApiModelProperty("债权出让人性别:(0、未知 1、男 2、女)")
    private Byte creditorGender;
    @ApiModelProperty("债权出让人你我分")
    private Integer creditorNiiwooScore;

    @ApiModelProperty("年化利率(10%则返回0.1)")
    private BigDecimal borrowRate;
    @ApiModelProperty("年化利率*100(10%则返回10)")
    private String borrowRateDesc;

    @ApiModelProperty("标的总期数")
    private Integer deadline;
    @ApiModelProperty("剩余期数月")
    private Integer remainingDeadlineMonth;
    @ApiModelProperty("剩余期数天")
    private Integer remainingDeadlineDay;
    @ApiModelProperty("最后一期回款日(格式:yyyy-MM-dd)")
    private String endDate;
    @ApiModelProperty("借款人类型(1:个人、2:企业)")
    private Byte borrowerType;

    @ApiModelProperty("优惠方式：1全价转让，2降价转让")
    private Byte favorableType;
    @ApiModelProperty("债权出让价格")
    private BigDecimal saleAmount;
    @ApiModelProperty("债权金额")
    private BigDecimal amount;
    @ApiModelProperty("降价比例")
    private BigDecimal offPercent;
    @ApiModelProperty("降价金额")
    private BigDecimal offAmount;
    @ApiModelProperty("预期收益")
    private BigDecimal interest;
    @ApiModelProperty("受让利息")
    private BigDecimal assigneeInterest;

    @ApiModelProperty("系统当前时间(格式:yyyy-MM-dd HH:mm:ss)")
    private String currentTime;
    @ApiModelProperty("过期时间(格式:yyyy-MM-dd HH:mm:ss)")
    private String expireTime;
    @ApiModelProperty("倒计时时间(秒)")
    private Integer countDownTime;

    @ApiModelProperty("收益方式：(1到期还本息，2等额本息，3按月还息，到期还本)")
    private Byte repaymentType;

    @ApiModelProperty("债转标的状态：1-转让中、2-转让成功、3转让失败")
    private Byte status;

    @ApiModelProperty(value = "借款用途")
    private String loanUsage;

    @ApiModelProperty(value = "标的类型(默认1:极速借个人 2:极速借机构 3:你我云贷 4:卡易借 8:小易借 9:社保借 10:信用卡借 11:极速借机构 12:装修借)", required = true)
    private Byte projectType;

    @ApiModelProperty(value = "常见问题url")
    private String commonProblemUrl;

    @ApiModelProperty(value = "产品介绍url")
    private String productPresentationUrl;

    @ApiModelProperty(value = "担保方式H5页面地址")
    private String guaranteeModelH5Url;

    @ApiModelProperty(value = "债权转让协议路径")
    private String creditorAgreementUrl;

    @ApiModelProperty(value = "债权转让风险提示书路径")
    private String creditorRiskAgreementUrl;

    @ApiModelProperty(value = "债转标编号")
    private String protocolNumber;

    @ApiModelProperty(value = "是否可转让  0:不可转让  1:可转让")
    private Byte istransfer;
    
    @ApiModelProperty("借款人用户id")
    private String borrowUserId;
}
